package com.ruoyi.picture.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账单管理对象 account
 * 
 * @author ruoyi
 * @date 2024-01-09
 */
public class Paccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用处 */
    @Excel(name = "用处")
    private String fun;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 用户 */
    @Excel(name = "用户")
    private String userId;

    /** 标签 */
    @Excel(name = "标签")
    private Long tabId;

    @Excel(name = "名称")
    private String nickName;

    @Excel(name = "标签")
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFun(String fun) 
    {
        this.fun = fun;
    }

    public String getFun() 
    {
        return fun;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setTabId(Long tabId) 
    {
        this.tabId = tabId;
    }

    public Long getTabId() 
    {
        return tabId;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fun", getFun())
            .append("price", getPrice())
            .append("userId", getUserId())
            .append("tabId", getTabId())
            .append("type", getType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
